package models

// SaForeOne 三澳日预报的第一个表
type SaForeOne struct {
	BaseModel
	Date       string `json:"date" gorm:"column:date;size:255;uniqueIndex:idx_date_time"`
	Time       string `json:"time" gorm:"column:time;size:255;uniqueIndex:idx_date_time"`
	WaveValue  string `json:"waveValue" gorm:"column:waveValue"`
	WaveAngle  string `json:"waveAngle" gorm:"column:waveAngle"`
	WindValue  string `json:"windValue" gorm:"column:windValue"`
	WindAngle  string `json:"windAngle" gorm:"column:windAngle"`
	SurgeValue string `json:"surgeValue" gorm:"column:surgeValue"`
	SurgeAngle string `json:"surgeAngle" gorm:"column:surgeAngle"`
	Cycle      string `json:"cycle" gorm:"column:cycle"`
}

// xhl的数据表
type XhlData struct {
	BaseModel
	Date      string `json:"date" gorm:"column:date;size:255;uniqueIndex:idx_date_time_file"`
	Time      string `json:"time" gorm:"column:time;size:255;uniqueIndex:idx_date_time_file"`
	File      string `json:"file" gorm:"column:file;size:255;uniqueIndex:idx_date_time_file"`
	WaveValue string `json:"waveValue" gorm:"column:waveValue"`
	WaveAngle string `json:"waveAngle" gorm:"column:waveAngle"`
	WindValue string `json:"windValue" gorm:"column:windValue"`
	WindAngle string `json:"windAngle" gorm:"column:windAngle"`
}
